-
Notifications
You must be signed in to change notification settings - Fork 7.9k
Export OPcache header files #15596
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Export OPcache header files #15596
Conversation
Thank you for the PR! My comment in #15592 was not particularly referring to #15543, but was rather a general question, since there are already several exported functions (mostly JIT related); or is that because JIT can be built as separate DSO? Ah, looking at Makefile.frag it is likely about the library objects (.lo) which are used on non Windows systems. |
This will prevent an ability to change opcache internals in minor releases, that may be required for bug fixes. I wouldn't like to export this internals. |
I suppose we don't need |
@dstogov, not exporting the headers makes generally sense to me, but if we export |
Look, observer guys needed some data from opcache, and they made yet another quick hack... |
I see. Then I suggest to not publish any OPcache headers to reduce maintenance burden of PHP/ZE, and to not pursue #15592 wrt OPcache. Since there is no mention of the newly exported global in UPGRADING.INTERNALS anyway, only those knowing about that may use it, but we should not further advertize it. :) |
I can see what you mean and I am totally okay with not exposing the headers, especially as these structures have been pretty stable in the past. |
See #15592 (comment)
Export headers for OPcache so it is easier to use #15543
CC: @arnaud-lb / @cmb69